<template>
  <basic-container class="pd-10">
    <el-tabs v-model="activeName">
      <el-tab-pane label="顺丰物流" name="sf"></el-tab-pane>
      <el-tab-pane label="达达配送" name="dd"></el-tab-pane>
    </el-tabs>

    <div>
      <keep-alive>
        <sfOrder v-if="activeName === 'sf'"></sfOrder>
        <dadaOrder v-if="activeName === 'dd'"></dadaOrder>
      </keep-alive>
    </div>
  </basic-container>
</template>

<script>
import sfOrder from './sf-order.vue'
import dadaOrder from './dada-order.vue'
export default {
  data() {
    return {
      activeName: 'sf'
    };
  },
  components: {
    sfOrder,
    dadaOrder,
  }
};
</script>
<style lang="scss" scoped>

</style>